﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Configuration;

namespace MDF.Utilites.Tools
{
    /// <summary>
    /// Summary description for Config
    /// </summary>
    public static class MailConfig
    {
        private readonly static string _mailusername;
        private readonly static string _mailpassword;
        private readonly static string _from;

        private readonly static string _mailserver;
        private readonly static string _displayname;


        static MailConfig()
        {
            _mailusername = "hoithietke.team@gmail.com";// ConfigurationManager.AppSettings["MailUserName"];
            _mailpassword = "VuongMinhNhut";//ConfigurationManager.AppSettings["MailPassWord"];
            _from = "hoithietke.team@gmail.com";// ConfigurationManager.AppSettings["From"];

            _mailserver = "smtp.gmail.com";//ConfigurationManager.AppSettings["MailSerVer"];
            _displayname = "Hoi Thiet Ke - AFS";// ConfigurationManager.AppSettings["DisplayName"];

        }
        public static string DisplayName
        {
            get { return _displayname; }
        }
        public static string MailUserName
        {
            get { return _mailusername; }
        }
        public static string MailPassWord
        {
            get { return _mailpassword; }
        }
        public static string From
        {
            get { return _from; }
        }

        public static string MailServer
        {
            get { return _mailserver; }
        }


    }
}